


import java.text.DateFormat;
import java.text.SimpleDateFormat;

import model.Menu;
import temp.Mess;
import Factory.FactoryMethod;
import dao.TxtMenuDAO;


public class Main {
	 	static final String timePattern = "HH:mm:ss dd.MM.yyyy";
	    static final DateFormat dateFormatter =  new SimpleDateFormat(timePattern);
	    static final DateFormat dateParser =   dateFormatter;
	    
	    public static void main ( String[] args ) { 
	        
	       // Menu menu = FactoryMethod.getMenuDAO(new TxtMenuDAO()).getMenu();
	       // Mess.print(""+menu.getDate());
	       /* String timeInString = dateFormatter.format(now);	        
			Mess.print("println new string from Date: " + timeInString);
	        Mess.print("\r\nprintln new Date from string: " + dateParser.parse(timeInString));
	        Mess.print("\r\nSystem.out.printf: %1$tH:%1$tM:%1$tS %1$td.%1$tm.%1$tY %n" + now);
	        Mess.print("\r\n"+now);	              
	        */	    	
	    	
	    	//IMenu menu = new FactoryMethod().getMenuDAO(new TxtMenuDAO()).getMenu();
	        //Mess.print("\r\n"+menu.getListOfItems().get(0).getName());
	    	//Mess.print(""+now);
	    }
}
